package dao.models;

import java.util.List;

public class Question {

    private int id;
    private String text;
    private List<Answer> answers;

    public int getId() {
	return id;
    }

    public void setId(int id) {
	this.id = id;
    }

    public String getText() {
	return this.text;
    }

    public void setText(String text) {
	this.text = text;
    }

    public List<Answer> getAnswers() {
	return this.answers;
    }

    public void setAnswers(List<Answer> answers) {
	this.answers = answers;
    }

    @Override
    public String toString() {
	return "Question [id=" + this.id + ", text=" + this.text + ", answers="
		+ this.answers + "]";
    }
}
